const names: string[] = ["abc", "cba", "ccc"];

//匿名函数最好不要加类型注解
names.forEach(function (item, index, arr) {
  console.log(item, index, arr);
});

export {};
